Proper connect_port
[juce-lv2.git] / juce / source / extras / the jucer / build / linux / jucer_premake.lua
blob9de9ea4ea2e3558fb9069ce608f1fe5061b8e5ad
2 project.name = "Jucer"
3 project.bindir = "build"
4 project.libdir = "build"
6 project.configs = { "Debug", "Release" }
8 package = newpackage()
9 package.name = "Jucer"
10 package.kind = "winexe"
11 package.language = "c++"
13 package.objdir = "build/intermediate"
14 package.config["Debug"].objdir = "build/intermediate/Debug"
15 package.config["Release"].objdir = "build/intermediate/Release"
17 package.config["Debug"].defines = { "LINUX=1", "DEBUG=1", "_DEBUG=1" };
18 package.config["Debug"].buildoptions = { "-D_DEBUG -ggdb" }
20 package.config["Release"].defines = { "LINUX=1", "NDEBUG=1" };
22 package.target = "jucer"
24 package.includepaths = {
25 "/usr/include",
26 "/usr/include/freetype2"
29 package.libpaths = {
30 "/usr/X11R6/lib/",
31 "../../../../bin"
34 package.config["Debug"].links = {
35 "freetype", "pthread", "X11", "GL", "GLU", "Xinerama", "asound", "dl", "Xext"
38 package.config["Release"].links = {
39 "freetype", "pthread", "X11", "GL", "GLU", "Xinerama", "asound", "dl", "Xext"
42 package.linkflags = { "static-runtime" }
44 package.files = { matchfiles (
45 "../../src/*.h",
46 "../../src/*.cpp",
47 "../../src/ui/*.h",
48 "../../src/ui/*.cpp",
49 "../../src/utility/*.h",
50 "../../src/utility/*.cpp",
51 "../../src/properties/*.h",
52 "../../src/properties/*.cpp",
53 "../../src/model/*.h",
54 "../../src/model/*.cpp",
55 "../../src/model/components/*.h",
56 "../../src/model/components/*.cpp",
57 "../../src/model/documents/*.h",
58 "../../src/model/documents/*.cpp",
59 "../../src/model/paintelements/*.h",
60 "../../src/model/paintelements/*.cpp"
64 package.buildoptions = { "-march=native" }